package com.ldzy.controller;

import com.ldzy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import sun.misc.Contended;

@Component
public class UserController {
    @Autowired
    private UserService userService;
    public  void  save(){

        System.out.println("正在执行Controller层");
        userService.save();
    }
}
